# coding = utf-8

import configparser

config = configparser.ConfigParser()

config.read("example.ini")
print(config.sections()) # DEFAULT 不会被读出
print(config.defaults())
# print(config["wc.org"])

for key in config["wc.org"]:
    print(key)

sec = config.remove_section("zhutou3.org")
config.write(open("example.cfg", "w"))


